package com.blackbox.price.entity;

import com.fasterxml.jackson.databind.ser.Serializers;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.bind.annotation.CrossOrigin;

import javax.persistence.Table;

/**
 * @Author: TWQ
 * @Description:
 * @Date: Created in 下午 22:35 2020/8/18 0024
 * @Modidied By: NO
 */
@Data
@AllArgsConstructor //生成全参数构造函数
@NoArgsConstructor//生成无参构造函数
@Builder
@Table(name="bb_child_project")
public class BbChildProject extends BaseEntity{

    // 父ID
    private Integer pid;

    @ApiModelProperty("子项目名称")
    private String name;

    @ApiModelProperty("子项目英文名称")
    private String enName;

    @ApiModelProperty("价格")
    private String price;

    @ApiModelProperty("icon")
    private String icon;

    @ApiModelProperty("颜色")
    private String color;

    @ApiModelProperty("颜色名称")
    private String colorName;

}
